﻿//Created by Action Script Viewer - http://www.buraks.com/asv
package net.wooga.pets.views.components.secretary.states {
    import net.wooga.pets.utils.timeline.*;
    import net.wooga.pets.views.components.secretary.*;

    public class ReceptionSecretaryInitState extends ReceptionSecretaryBaseState implements IReceptionSecretaryState {

        private static const DEFAULT_LABEL:String = "idle";

        public function ReceptionSecretaryInitState(_arg1:ReceptionSecretaryViewStateManager, _arg2:SequenceBasedStatesTimeline){
            super(_arg1, _arg2);
        }
        override protected function onTimelineAnimationFinished(_arg1:String):void{
        }
        override protected function getStateLabel():String{
            return (DEFAULT_LABEL);
        }
        public function initiate():void{
            this.stop();
        }
        public function stop():void{
            this.gotoAndStop(DEFAULT_LABEL);
        }
        public function doIdle():void{
            this.context.currentState = this.context.getStateByLookupKey(ReceptionSecretaryViewStateManager.IDLE_STATE);
            this.context.doIdle();
        }
        public function doListening():void{
            this.context.currentState = this.context.getStateByLookupKey(ReceptionSecretaryViewStateManager.LISTENING_STATE);
            this.context.doListening();
        }

    }
}//package net.wooga.pets.views.components.secretary.states 
